package com.oa.cc.dao;

import java.util.List;

import org.hibernate.criterion.Example;
import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import com.oa.domain.WorkstreamStep;

public class WorkStreamStepDaoImpl extends HibernateDaoSupport implements WorkStreamStepDao {

	public List<WorkstreamStep> getWorkStreamStepsByExample(
			WorkstreamStep workstreamStep) {
		return getSession().createQuery("from WorkstreamStep where wsid="+workstreamStep.getWorkstream().getWsid()).list();
	}

}
